package com.tedu.show.menus;

import com.tedu.controller.GameController;

import javax.swing.*;
import java.awt.*;

public class InfoScreen extends BaseScreen {
    public InfoScreen() {
        super("game_info");

        JButton backButton = new JButton("返回");
        backButton.setBounds(680, 20, 100, 40);
        backButton.addActionListener(e -> GameController.switchPanel(GameController.GameState.SELECTION));
        this.add(backButton);
    }
}
